package com.etime.shyzuul.pojo;

import java.util.List;

/**
 * 用户登录后，记录到redis中的用户信息
 */
public class CurrentUser {

    //是否机构管理员
    private Integer isorgadmin;
    //机构id
    private Integer orgid;
    //教师id
    private Integer tecid;
    //销售员id
    private Integer salerid;
    //销售人员所在部门id
    private Integer deptid;
    //用户的角色列表
    private List<Integer> roleids;

    private SysUser user;

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    public List<Integer> getRoleids() {
        return roleids;
    }

    public void setRoleids(List<Integer> roleids) {
        this.roleids = roleids;
    }

    public Integer getIsorgadmin() {
        return isorgadmin;
    }

    public void setIsorgadmin(Integer isorgadmin) {
        this.isorgadmin = isorgadmin;
    }

    public Integer getOrgid() {
        return orgid;
    }

    public void setOrgid(Integer orgid) {
        this.orgid = orgid;
    }

    public Integer getTecid() {
        return tecid;
    }

    public void setTecid(Integer tecid) {
        this.tecid = tecid;
    }

    public Integer getSalerid() {
        return salerid;
    }

    public void setSalerid(Integer salerid) {
        this.salerid = salerid;
    }
}
